package com.beiji.lib.pen.model


/**
 * 线段
 * Created by X on 2018/6/13.
 */
class PenLine() {
    var pageId: Int = 0
    var x1: Int = 0
    var y1: Int = 0
    var x2: Int = 0
    var y2: Int = 0
    var force: Float = 0F
    var action: Int = 0

    constructor(pageId: Int, x1: Int, y1: Int, x2: Int, y2: Int, force: Float, action: Int) : this() {
        this.pageId = pageId
        this.x1 = x1
        this.y1 = y1
        this.x2 = x2
        this.y2 = y2
        this.force = force
        this.action = action
    }
}